lsm_disk_system_id_get(3) | Libstoragemgmt C API Manual | lsm_disk_system_id_get(3) |
NAME¶
lsm_disk_system_id_get - Retrieve the system ID for the disk.
SYNOPSIS¶
const char * lsm_disk_system_id_get (lsm_disk *d);
ARGUMENTS¶
- d
- Disk to retrieve system ID for.
VERSION¶
1.0
DESCRIPTION¶
Retrieve the system id for the specified disk.
NOTE¶
Address returned is valid until lsm_disk gets freed, copy return value if you need longer scope. Do not free returned string.
RETURN¶
string. NULL if argument 'd' is NULL or not a valid lsm_disk pointer.
lsm_disk_system_id_get | January 2023 |